﻿namespace Api.Shared.Utils
{
    public class ApiResponse
    {
        public string? Message { get; set; }

        public bool Status { get; set; }

        public object? Result { get; set; }

        public int Code { get; set; }
    }

    public class ApiResponse<T> where T : class, new()
    {
        public string? Message { get; set; }

        public bool Status { get; set; }

        public T? Result { get; set; }
        public int Code { get; set; }
        public int Count { get; set; }
        public T? Data { get; set; }
    }
}
